package entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * (Outorderinfo)实体类
 *
 * @author makejava
 * @since 2022-04-12 15:14:05
 */
public class Outorderinfo extends Common implements Serializable {
    private static final long serialVersionUID = 263460647749993531L;
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 门店id
     */
    private String sId;
    /**
     * 出货订单id
     */
    @TableField(value = "oId")
    private String oId;
    /**
     * 数量
     */
    private Integer quantity;
    /**
     * 费用
     */
    private Object cost;
    /**
     * 商品id
     */
    private String pId;

    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Outorderinfo{" +
                "id='" + id + '\'' +
                ", sId='" + sId + '\'' +
                ", oId='" + oId + '\'' +
                ", quantity=" + quantity +
                ", cost=" + cost +
                ", pId='" + pId + '\'' +
                ", status=" + status +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getsId() {
        return sId;
    }

    public void setsId(String sId) {
        this.sId = sId;
    }

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Object getCost() {
        return cost;
    }

    public void setCost(Object cost) {
        this.cost = cost;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public Outorderinfo(String id, String sId, String oId, Integer quantity, Object cost, String pId) {
        this.id = id;
        this.sId = sId;
        this.oId = oId;
        this.quantity = quantity;
        this.cost = cost;
        this.pId = pId;
    }

    public Outorderinfo() {
    }
}

